﻿using System;
using System.Windows.Media;
using Game500.ClientServerCommon.Src;

namespace ClientLauncher.Src.ViewModels
{
  public class MapInfoViewModel
  {
    public MapInfoViewModel(Map map, ImageSource thumbnail)
    {
      Thumbnail = thumbnail;
      Description = string.Format("{0}. {1}x{2}", map.Name, map.MapWidth, map.MapHeight);
      MapId = map.MapId;
    }

    public ImageSource Thumbnail { get; private set; }
    public string Description { get; private set; }
    public Guid MapId { get; private set; }
  }
}